package io.itit.ecp.admin.server.entity;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.itit.grass.common.server.entity.BaseTenantEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.math.BigDecimal;


/**
 * CCER 管理
 */
@Data
@ToString
@EqualsAndHashCode(callSuper = true)
@TableName("ecp_tt_carbon_ccer")
public class CarbonCCEREntity extends BaseTenantEntity {

    /**
     * 所属项目
     */
    @TableField(updateStrategy = FieldStrategy.ALWAYS)
    private String sceneProjectId;

    /**
     * 楼栋ID
     */
    @TableField(updateStrategy = FieldStrategy.ALWAYS)
    private String sceneEdificeId;

    /**
     * 楼层ID
     */
    @TableField(updateStrategy = FieldStrategy.ALWAYS)
    private String sceneFloorId;

    /**
     * 空间Id
     */
    @TableField(updateStrategy = FieldStrategy.ALWAYS)
    private String sceneRoomId;

    /**
     * 填报类型(1:购入,2:售出)
     */
    private String inputType;

    /**
     * 当前填报的CCER
     */
    private BigDecimal ccerValue;

    /**
     * 碳收益
     */
    private BigDecimal carbonIncome;
}
